package com.gking.centerSystem.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 系统的一些配置信息开关
 */
@Data
@TableName("sy_config_switch")
public class ConfigSwitch implements Serializable {

    //主键id
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    //配置code码，唯一
    @TableField(value = "code")
    private String code;

    //配置备注
    @TableField(value = "remark")
    private String remark;

    //0 启用，1禁用
    @TableField(value = "status")
    private Integer status;

    //禁用时给出的信息
    @TableField(value = "disableMsg")
    private String disableMsg;

    //0存在，1删除
    @TableField(value = "isDelete")
    private Integer isDelete;

    //更新者id
    @TableField(value = "updateUserId", fill = FieldFill.UPDATE)
    private String updateUserId;

    //更新时间
    @TableField(value = "updateTime", fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;

}
